home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
t3_1
/
risc_src.lha
/
risc_sources
/
tman
/
feature.tex
/
node9_mn.html
< prev
Wrap
Text File
|
1990-10-02
|
2KB
|
108 lines
<H1><A ID="SECTION00180000000000000000">
Weak pointers</A>
</H1>
<P>
<A ID="692"><tex2html_anchor_invisible_mark></A>
<#763#><#763#>
<P>
<A ID="OBJECT-HASH"><tex2html_anchor_mark></A><BR>
<tex2html_image_mark>#inset492#
<BR>
<P>
<A ID="694"><tex2html_anchor_invisible_mark></A>
<#764#><#764#>
<P>
<BR>
<tex2html_image_mark>#inset515#
<BR>
<P>
In <#523#><B>T3</B><#523#>, ``populations'' have been renamed to ``weak-sets''.
This change was made in the belief that ``weak-set'' is a more
intuitive name than ``population''. The old names are still
supported, but they will be removed in a future release.
<P>
<#524#><I>Weak-Sets</I><#524#><A ID="525"><tex2html_anchor_invisible_mark></A> provide a way to keep track of a collection of objects.
They are sometimes known as <#526#>weak sets<#526#> because they behave much like
sets, but an object in a weak-set may go away if the only pointer to
the object is via the weak-set. The garbage collector will remove
such objects from weak-sets.
<A ID="527"><tex2html_anchor_invisible_mark></A>
<P>
<A ID="696"><tex2html_anchor_invisible_mark></A>
<#765#><#765#>
<P>
<BR>
<tex2html_image_mark>#inset531#
<BR>
<P>
<A ID="699"><tex2html_anchor_invisible_mark></A>
<#766#><#766#>
<P>
<BR>
<tex2html_image_mark>#inset539#
<BR>
<P>
<A ID="702"><tex2html_anchor_invisible_mark></A>
<#767#><#767#>
<P>
<BR>
<tex2html_image_mark>#inset549#
<BR>
<P>
<A ID="705"><tex2html_anchor_invisible_mark></A>
<#768#><#768#>
<P>
<BR>
<tex2html_image_mark>#inset558#
<BR>
<P>
<A ID="707"><tex2html_anchor_invisible_mark></A>
<#769#><#769#>
<P>
<BR>
<tex2html_image_mark>#inset566#
<BR>
<P>
<A ID="710"><tex2html_anchor_invisible_mark></A>
<#770#><#770#>
<P>
<BR>
<tex2html_image_mark>#inset581#
<BR>
<P>
<A ID="713"><tex2html_anchor_invisible_mark></A>
<#771#><#771#>
<P>
<BR>
<tex2html_image_mark>#inset590#
<BR>